package com.walle.concurrenttest.pattern.workthread;

/**
 * @author zhangjiapeng
 * @Package com.walle.concurrenttest.pattern.workthread
 * @Description: ${todo}
 * @date 2019/2/22 11:22
 */
public class Main {

    public static void main(String[] args) {
        Channel channel = new Channel(3);
        channel.startWorkers();
        Thread client1 = new ClientThread("张三",channel);
        Thread client2 = new ClientThread("李四",channel);
        client1.start();
        client2.start();
    }
}
